package com.ruoyi.coal.modules.coalpile.domain.vo;

public class LineChartVo {
    private Integer yardId;

    private Integer chooseNum;

    public void setYardId(Integer yardId) {
        this.yardId = yardId;
    }

    public void setChooseNum(Integer chooseNum) {
        this.chooseNum = chooseNum;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.ruoyi.coal.modules.coalpile.domain.vo.LineChartVo))
            return false;
        com.ruoyi.coal.modules.coalpile.domain.vo.LineChartVo other = (com.ruoyi.coal.modules.coalpile.domain.vo.LineChartVo)o;
        if (!other.canEqual(this))
            return false;
        Object this$yardId = getYardId(), other$yardId = other.getYardId();
        if ((this$yardId == null) ? (other$yardId != null) : !this$yardId.equals(other$yardId))
            return false;
        Object this$chooseNum = getChooseNum(), other$chooseNum = other.getChooseNum();
        return !((this$chooseNum == null) ? (other$chooseNum != null) : !this$chooseNum.equals(other$chooseNum));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.ruoyi.coal.modules.coalpile.domain.vo.LineChartVo;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $yardId = getYardId();
        result = result * 59 + (($yardId == null) ? 43 : $yardId.hashCode());
        Object $chooseNum = getChooseNum();
        return result * 59 + (($chooseNum == null) ? 43 : $chooseNum.hashCode());
    }

    public String toString() {
        return "LineChartVo(yardId=" + getYardId() + ", chooseNum=" + getChooseNum() + ")";
    }

    public LineChartVo(Integer yardId, Integer chooseNum) {
        this.yardId = yardId;
        this.chooseNum = chooseNum;
    }

    public LineChartVo() {}

    public Integer getYardId() {
        return this.yardId;
    }

    public Integer getChooseNum() {
        return this.chooseNum;
    }
}
